import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'tabler:hexagon-3d',
      order: 999,
      title: $t('land.3Dmodels.title'),
    },
    name: '3Dmodels',
    path: '/model',
    children: [
      {
        name: 'index',
        path: '/index',
        component: () => import('#/views/3Dmodels/index.vue'),
        meta: {
          affixTab: false,
          icon: 'tdesign:chart-3d-filled',
          title: $t('land.3Dmodels.index'),
        },
      },
      // {
      //   name: 'Workspace',
      //   path: '/workspace',
      //   component: () => import('#/views/dashboard/workspace/index.vue'),
      //   meta: {
      //     icon: 'carbon:workspace',
      //     title: $t('page.dashboard.workspace'),
      //   },
      // },
    ],
  },
];

export default routes;
